<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('商品')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <input id="c-goods_id" data-rule="required" data-source="goods_manage/goods" class="form-control selectpage"  multiple="" data-order-by='id desc' data-field="goods_name" name="row[goods_id][]" type="text" value="">-->
            <select  id="c-flag" data-rule="required" class="form-control selectpicker" multiple="" name="row[goods_id][]">
                {foreach name="goodsList" item="vo"}
                <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <div class="col-xs-12 col-sm-8">
            <input id="c-loss_id" class="form-control" name="row[loss_id]" type="hidden" value="{$loss_id|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
